package com.orphan.marketBack.service;

import com.orphan.marketBack.po.OrderGoods;
import com.orphan.marketBack.po.OrderReturn;
import com.orphan.marketBack.po.ReturnOrder;
import com.orphan.marketBack.po.Stock;
import com.orphan.marketBack.vo.ResultVO;
import com.orphan.util.dto.GoodsDto;

import java.util.List;

public interface StockService {
    ResultVO getStockGoods();
    boolean updateGoodsUp(String stockId);
    boolean updateGoodsDown(String stockId);
    Stock selectStock(String stockId);
    GoodsDto getGoods(String stockId);
    boolean updateStock(OrderReturn orderReturn);
    boolean deleteStock(String goodsName);
    boolean deductionStock(OrderGoods goods);
}
